package com.xueyi.common.message.mq.callback.message;

import com.xueyi.common.message.mq.stream.AbstractStreamMessage;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 邮箱发送消息
 *
 * @author 芋道源码
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CallbackStreamMessage extends AbstractStreamMessage {

    /**
     * 事件注册编号
     */
    private Integer eventCallbackSysNo;

    /**
     * 消息体
     */
    private String message;

    /**
     * 事件编码
     */
    private String eventCode;

    @Override
    public String getStreamKey() {
        return "system.bpm-stream.callback";
    }

}
